#include <iostream>

using namespace std;

int main(){
	int a, b;	int c;
	cin >> a >> b;
	c = a *10 +b;
	cout << c/19 <<endl;
	return 0;
}